package com.wcy.dao;

import com.wcy.entity.Role;
import com.wcy.entity.UserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @since 2021-04-30
 */
@Repository
public interface UserRoleMapper extends BaseMapper<UserRole> {

   List<Role> queryAll(@Param("persons") String persons);

}
